<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>签约网</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <link rel="stylesheet" type="text/css" href="../css/lawyer.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="../script/mobile.js"></script>
    <script type="text/javascript" src="../script/lawyer.js"></script>
    <style type="text/css">
        .order_list ul li{
            padding-top: 0.1rem;
        }
        .ssbq_info{
            height: 1.26rem;
            line-height: 0.42rem;
            font-size: 0.26rem;
            color: #999999;
        }
        .ssbq_info p{
            line-height: 0.42rem!important;
            height: auto!important;
        }
        .fixed_btn{
            position: fixed;
            bottom: 0;
            width: 100%;
            height: 1rem;
            z-index: 999;
        }
        .fixed_btn a{
            display: block;
            width: 100%;
            height: 1rem;
            line-height: 1rem;
            text-align: center;
            background: #1c83ea;
            color: #ffffff;
            font-size: 0.32rem;
        }
    </style>
</head>
<body>
<header class="header">
    <a href="javascript:void(0);" onclick="comeBack()" class="back_btn"><img src="../image/head-fanhui.png" alt=""></a>
    <h2>诉讼保全</h2>
    <!--<a href="ask_page_myAnswer.html" class="myAnswer_btn">我的回答</a>-->
</header>
<section class="order_section" style="padding-bottom: 1.1rem;">
    <div class="order_list">
        <ul>
            <!--<li>
                <p style="color: #333333">诉讼保全  <span class="fr" style="color: #333;">未处理</span></p>
                <div class="ssbq_info" style="background: #fff;">
                    <p>申请人：王雪冰 <span class="fr">13584656365</span></p>
                    <p>申请金额：10000元</p>
                    <p>法院信息：重庆市南岸区第一人民法院</p>
                </div>
                <div class="order_active">
                    <span style="color: #999999; font-size: 0.26rem">申请时间：2019-12-05</span>
                    <div class="active_btn">
                        <a href="##" class="yes_btn">查看详情</a>
                    </div>
                </div>
            </li>-->

        </ul>
    </div>
</section>

<div class="fixed_btn">
    <a href="javascript:void(0)" onclick="aaplay('find_preservation_apply')">申请诉讼保全</a>
</div>
</body>
<script>

var para
apiready = function () {

  //下拉刷新
  api.setRefreshHeaderInfo({
    visible: true,
    bgColor: 'rgba(255,255,255,255)',
    textColor: '#666',
    textDown: '下拉刷新',
    textUp: '释放刷新'
  }, function(ret, err) {
    toDoRefresh();
  });
    para=api.pageParam;

    toDoRequest();
};

function toDoRequest(){
    p= {token:token};
    api.ajax({
        url: webSiteUrl+'/app/staff/bq_list',
        method: 'post',
        data: {
            values: p
        }
    }, function(ret, err) {
        if(ret.code==200){

            html = "";
            var tj=ret.data;
            if(tj != null){
                for(var i=0;i<tj.length;i++){

                    html+='<li><p style="color: #333333">诉讼保全  <span class="fr" style="color: #333;">'+tj[i].status_title+'</span></p><div class="ssbq_info" style="background: #fff;"><p>申请人：'+tj[i].name+' <span class="fr">'+tj[i].phone+'</span></p><p>申请金额：'+tj[i].money+'元</p><p>法院信息：'+tj[i].depart+'</p></div><div class="order_active"><span style="color: #999999; font-size: 0.26rem">申请时间：'+tj[i].create_time+'</span><div class="active_btn"></div></div></li>';

                }
                $('.order_list ul').html(html);
            }else{
                $('.order_list ul').html('<p style="text-align:center">暂无数据</p>');
            }
        }else{

            $('.order_list ul').html('<p style="text-align:center">暂无数据</p>');

        }
    });

}

    //返回上一级
    function comeBack(){
        api.historyBack({
        },function(ret,err){
            if (!ret.status) {
                api.closeWin();
            }
        });
    }
</script>
</html>
